.row-fluid.nested-form-item[line_item.object]
  .row-fluid
    .span2.offset1= line_item.input :title
    .span1.offset7.currency.total_amount
      .clearfix
        .input-prepend
          .add-on Σ
          = line_item.text_field :reference_code, :style => 'width: auto'
    .span1.action_links
      = line_item.hidden_field :position
      = line_item.hidden_field :code
      = line_item.hidden_field :reference_code
      = line_item.hidden_field :booking_template_id
      = line_item.hidden_field :include_in_saldo_list
      = line_item.hidden_field :date
      = line_item.hidden_field :quantity, :value => 'saldo_of'
      = line_item.hidden_field :times
      = line_item.hidden_field :price
      = line_item.hidden_field :_destroy
      = list_link_to :delete, '#', :class => 'delete-nested-form-item'
